package com.keller.service;

import com.keller.domian.Role;
import com.keller.domian.UserInfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService{
    public List<UserInfo> findAll();
    public void saveUser(UserInfo userInfo);

    public UserInfo findUserDetailByUserId(String userId);

    public List<Role> findOtherRoleById(String id);

    public void addRoleToUser(String userId, String[] ids);
}
